package cn.alibab.sys.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author shiyk
 * @create 2020-07-16 16:17
 */
public interface CreateId1 {
    /*
    * 调用数据库的函数生成编号
    */
    @Select("select f_create_id(${id}) from dual")
    String getId1(@Param("id") Integer id);
}
